import { ConfigEnv, defineConfig, loadEnv, UserConfig } from 'vite';
import viteConf from '../common/vite.config'

// https://vitejs.dev/config/
export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
  return {
    ...viteConf({ mode, command }, __dirname) as UserConfig,
  }
})
